﻿using System;
using System.Collections.Generic;
using Kaiser.Infrastructure;
using System.Web.Mvc;
using Kaiser.Infrastructure.Modules;
using Kaiser.Infrastructure.User;
using Kaiser.Services;
using Kaiser.Services.Impl;

namespace Kaiser.Modules.Portal
{
    public class PortalModule : Module
    {
        public override string ModuleName
        {
            get { return "Portal"; }
        }

        public override void Initialize()
        {
            SetupContainer();
        }

        /// <summary>
        /// 设置DI映射
        /// </summary>
        private void SetupContainer()
        {
            //DependencyInjector.RegisterType<IConsigneeService, Consignee>();
            //DependencyInjector.RegisterType<IOrderService, Order>();
            //DependencyInjector.RegisterType<IProductService, Product>();
            //DependencyInjector.RegisterType<ISupplierService, Supplier>();


        }

       

        public List<Kaiser.Models.ModuleMenuItem> GetModuleMenus()
        {
            //  throw new NotImplementedException();
            return null;
        }

    }


}
